﻿#include "itestflow.h"
#include <memory>

#include "radiatedtestflowsession.h"
#include "conductedtestflowsession.h"
#include "levelscanningflowsession.h"

std::unique_ptr<ITestFlow> createTestFlow(HardwareTemplateType flowKind)
{
    switch (flowKind) {
    case HardwareTemplateType::RS:
        return std::make_unique<RadiatedFlow>();
    case HardwareTemplateType::CS:
        return std::make_unique<ConductedFlow>();
    default:
        return std::make_unique<RadiatedFlow>();
    }
}
